Skip to content

chore(platform): release 2.4.5 (MCP audit-record fix) - #123

Merged
devopssquaddev merged 6 commits into
mainfrom
chore/release-2.4.5
Nov 16, 2026
Merged

devopssquaddev merged 6 commits into
mainfrom
chore/release-2.4.5

Conversation

@devopssquaddev

@devopssquaddev devopssquaddev commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Release 2.4.5 (PATCH)

Chart version/appVersion, first-party GHCR images and production digests move to 2.4.5. No new Helm value; no third-party pin changes.

Fix

  • MCP audit records for denied and failed calls (supersedes fix(platform): keep zero request/response byte counts in tools_call audit records #122). Every native MCP tools/call logs one event: tools_call record with tool, tenant_id, status, elapsed_s, request_bytes, response_bytes. The shared JsonFormatter dropped 0 values outside a short allowlist, so a denied or failed call (response_bytes: 0) was logged without response_bytes, and request_bytes vanished for empty arguments. Both are now kept.
  • S-73 live test reads every MCP replica by selector (kubectl logs deploy/... read only one pod, so with two replicas it could miss its own call) and requires the audit fields on every tools_call record in the window, denied ones included.

Commits

  1. fix(platform): keep zero request/response byte counts in tools_call audit records (+ contract test, fails before the fix)
  2. test(tests): S-73 reads every MCP replica and checks every audit record
  3. chore(platform): move to 2.4.5 (charts, image tags, Zelkor FROM bases, example charts re-vendor zelkor-agent 2.4.5, THIRD_PARTY_NOTICES row)
  4. chore(helm): pin production images to 2.4.5 digests
  5. chore(ci): pin trivy-action to the v0.28.0 commit SHA
  6. chore(ci): move trivy-action to v0.36.0, pinned by commit SHA

CI: image scanning was not running

Every trivy-images job had been failing at Set up job (on main too): upstream removed the unprefixed 0.28.0 tag, and v0.28.0's own aquasecurity/setup-trivy@v0.2.1 reference is gone as well. The workflow now uses trivy-action v0.36.0 pinned by commit SHA (ed142fd, signed, on upstream master; it pins its own nested actions by SHA).

With scanning working again, 7 of 8 images report no fixable CRITICAL. zelkor-mcp reports CVE-2026-32871 (GHSA-vv7q-7jx5-f767, FastMCP OpenAPI provider SSRF) in fastmcp 2.7.0. It is a transitive dependency of mcp-server-qdrant==0.8.1 (latest; pins fastmcp==2.7.0). Zelkor does not use the affected code: the MCP servers are built on the mcp SDK, not FastMCP; the Qdrant wrapper imports only QdrantConnector and the embedding provider; in a running mcp-qdrant container those imports load no fastmcp module, and mcp-server-qdrant has no OpenAPI provider use. Present in earlier releases too (unscanned). Removing the package needs an image change, so it is not in this release.

Verification

  • Offline suites: 870 passed, 15 skipped.
  • GHCR :2.4.5 pushed for all 14 first-party images (none existed before).
  • Live, MCP at 2 replicas: a denied postgres__query followed by S-73 fails on 2.4.4 and passes on 2.4.5. Regression slice on 2.4.5 (tenant auth, MCP tenant isolation, sandbox, ingress, gateway bypass, tool policy, example agent install + tenant isolation): 84 passed.

Upgrade: helm upgrade the platform chart. Agents need no change.

🤖 Generated with Claude Code

devopssquaddev and others added 4 commits November 16, 2026 09:03
…udit records

The shared JsonFormatter only kept a 0 value for a few keys, so a denied or
failed tools/call (response_bytes=0) logged its audit record without
response_bytes, and request_bytes vanished for empty arguments. The native MCP
audit record requires both fields on every tools/call, including denials.

Found by the live S-73 audit test: the denied record it read had no
response_bytes. The new contract test fails before the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`kubectl logs deploy/<release>-mcp-<backend>` reads one pod, so with the HA
default (2 replicas) the test could miss its own call and assert on another
test's record. Read all pods by selector (--tail=-1, since -l defaults to 10
lines) and require the audit metadata on every tools_call record for the tool
in the window, denied ones included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chart version/appVersion, first-party image tags and Zelkor FROM bases go to
2.4.5 for the tools_call audit-record fix (zero request/response byte counts
kept on denied and failed calls). Example charts re-vendor zelkor-agent 2.4.5.
No third-party pin changes. Production digests follow after the push.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 4cd650f 2026-11-16T09:06:02.226Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 17c2bea 2026-11-16T09:03:31.564Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ c5a2a3e 2026-11-16T08:59:43.567Z Visit the dashboard ↗

devopssquaddev and others added 2 commits November 16, 2026 10:02
Upstream removed the unprefixed `0.28.0` tag (tags are now `vX.Y.Z`), so every
trivy-images job failed at "Set up job" with "unable to find version 0.28.0" and
no image was scanned — on main as well as on PRs. Pin the same release by commit
(915b19b, 2024-10-15, signed, on upstream master) instead of a mutable tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.28.0 still cannot run: its composite action references
aquasecurity/setup-trivy@v0.2.1, and upstream removed that tag too. v0.36.0
(ed142fd, 2026-04-22, signed, on upstream master) pins its own nested actions
by SHA (setup-trivy v0.2.6, actions/cache v5.0.5). Inputs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devopssquaddev
devopssquaddev merged commit 950d644 into main Nov 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant